import request from '@/utils/request'

export function getFeedBackList(query) {
  return request({
    url: '/system/feedback/pageOwn',
    method: 'get',
    params: query
  })
}

// 提问
export function feedbackCreate(query) {
  return request({
    url: '/system/feedback/create',
    method: 'post',
    data: query
  })
}

// 查询客服历史消息
export function getHistoryList(query) {
  return request({
    url: '/index/function',
    method: 'post',
    data: query
  })
}